<template>
  <div>
    <child-one></child-one>
  </div>
</template>

<script lang="ts">
import childOne from '@/components/childOne.vue'
import { Component, Vue, Provide } from 'vue-property-decorator'
@Component({
  components: {
    childOne
  }
})
export default class Provider extends Vue {
  @Provide() test = '父组件'
  @Provide('bar') baz = 'bar'
}
</script>

<style></style>
